import request from '@/utils/request'

// 查询阿米巴科目子列表
export function listAmoebaSubjectSon(query) {
  return request({
    url: '/system/amoebaSubjectSon/list',
    method: 'get',
    params: query
  })
}

// 查询阿米巴科目子详细
export function getAmoebaSubjectSon(id) {
  return request({
    url: '/system/amoebaSubjectSon/' + id,
    method: 'get'
  })
}

// 新增阿米巴科目子
export function addAmoebaSubjectSon(data) {
  return request({
    url: '/system/amoebaSubjectSon',
    method: 'post',
    data: data
  })
}

// 修改阿米巴科目子
export function updateAmoebaSubjectSon(data) {
  return request({
    url: '/system/amoebaSubjectSon',
    method: 'put',
    data: data
  })
}

// 删除阿米巴科目子
export function delAmoebaSubjectSon(id) {
  return request({
    url: '/system/amoebaSubjectSon/' + id,
    method: 'delete'
  })
}
